package com.yue92.datalife.service;

import com.yue92.datalife.model.Record;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

public interface IAnalysisService {

    @Data
    public static class AnalysisResult {

        String seriesName;

        List<Integer> seriesData;
    }

    AnalysisResult getData(LocalDate date, Record record, Boolean cumulate);

    int getGirdX(int max);
}
